Framework (
A-Z)
Reference for Wiring version 1.0 Build 0100+ If you have a previous version, use the reference included with your software. If see any errors or have any comments, let us know.
Name |
min() |
Examples |
int d = min(5, 9);
int e = min(-4, -12);
float f = min(12.3, 230.24);
|
Description |
Determines the smallest value in a sequence of numbers. |
Syntax |
min(value1, value2)
min(value1, value2, value 3)
|
Parameters |
value1 |
int or float |
value2 |
int or float |
value3 |
int or float |
|
Returns |
int or float (depending on the inputs) |
Usage |
Application |
Related |
max()
|
Updated on July 07, 2011 11:08:40pm PDT